Page History: Multi Exit OCO Orders
Compare Page Revisions
Page Revision: 2016/04/05 13:37
The purpose of a multi-exit OCO is to create a relationship of orders designed to get an account into a position and then flat with a predefined set of profit targets and loss limits. Execute a Multi-exit OCO with a single click. A single trigger order for entering into a position is submitted to the exchange.The trigger order can be any order type (market, limit, stop, etc.) The rest of the orders defined in the template form the OCO scheme. The OCO orders are held on T4 server contingent on the trigger order filling. To successfully define a multi-exit OCO template one must have defined OCO orders above, below and opposite the trigger order. As the trigger order partially fills the OCO orders will be released to the exchange in the appropriate quantities. If either side of the OCO fills the remaining portion of the trigger order is canceled and the OCO remains working with the intention of getting the account out of the position entered into by the trigger order. As OCO orders fill, quantities of the remaining OCO orders are reduced appropriately until the multi-exit OCO completes with a net zero position. Quantities of OCO orders are reduced furthest from the trigger order fill price first. It is possible to exit the position by filling both stop and limit OCO orders.
Creating a Multi-Exit OCO
Order templates can be enabled from the main properties/Contract/order toolbar/order templates.
Insert image
Select the order template button on your ladder.
Insert image
This will bring up the edit order template window. Click the Green plus to bring up the create template drop down. Select the template you wish to create.
Insert image
Now the template you selected will be visible in the name field. Here is where you can keep the template name or simply highlight the name and type in a unique name for your template.
Insert image
Once the name and type are entered you can build your template. You need to select your initial buy or sell quantity at a price level of 0. In my case I am going to select a buy of 4 for the initial. I click the buy side to the left 0. A dialog pops up and I enter a quantity of 4 and then choose limit. Then I click ok. Now my initial order is set.
insert image
Now we need to enter the OCO parameters. This can be broken up however you want but it must equal the initial. You can enter multiple combinations up to 16 legs. In this case I am selecting 4 separate 1 lot limit orders one will be submitted 2 ticks above the initial fill a second three ticks, a third 4 tick and fourth 4 ticks away. I do this by clicking the red sell side above the initial. By clicking in the sell side I get a dialog box to set the quantity and from there I can set the order types of Trailing, MX Limit or Market if touched. I now have my profit set.
insert images
Now I can set my protective stops. In my example I have chosen to submit a 2 lot stop set to trigger 2 ticks away from the initial fill, a one lot stop 3ticks away and a 1 lot stop 4 ticks away.
Insert image
Before finishing the setup you can choose to select from the ratio mode. if it is checked each leg is multiplied by the current volume selected prior to submission. For this demo setup I am checking off the ratio mode.(Note: this will be explained further when the submission is explained). Now the template is created to our liking we can click ok on the setup the template is now created and is now visible to be selected for trading on your template drop down.
insert image